fixes bug in multiple legs toggle
adds routine to gather all commute legs in a collection