Switched to period calculation for the stats on overtime (calculates all
periods everytime)