append last waypoint to trip lost in slice()