Don't insert an old position or a position with non-existing trip_id.