Altering psql functions used in TripTicket#filter_by_trip_time
to be backwards compatible with pg 8.4