Revert "Fixed an SQL error in retrieving trips"

This reverts commit 4d437e3432495a5a684b2d8cc8410222674fb3a7.
Work on select trip finish later button