Fix SQL teamrace time comparison to be more exact