Fixed week number bug in weeks starting on sunday