change shift start and endtime to correctly use active record between