Querying for earlier minute: Modified earliest and latest time to epoch format