Will now successfully validate work periods starting on monday.
Fixed some serious stuff