fix setCurrentLocationForUsers.php setting wrong location if no end date for last trip is specified