Fix a bug that causes working days to be longer