fix nasty bug where trip details were duplicated

Thanks to Soeren for catching this one!