[FIX] Max Sac breaking if period == 12 cuz of last year date

Merged Reviewer Intergaláctico requested to merge 8.0-FIX_MaxSacDateLastYear into 8.0-stage

Merge request reports