Correct a bug when trying to create a new trip