Update time_log.py

Updating the conflicting files with the submission.
Just changed the validation on the sql statement. Before it was checking time from and to between the actual timelog from and to. Between could be 10 and 11 if the checking 10, so it was throwing the error.