change loop over PlanElements from "i % 2 " to "instanceof Activity/Leg".
Authored by: mrieser 2009-05-20
Parent: [r6983]
Child: [r6985]