Clean up TripProxy logic. Fixes bug with repeating trips which have a raw address as one end, also fixes some errors where editing a trip changes a trip end address if a raw address is used. [Fixes #57795192]