Added ability to get shifts for a certain period