[Fixes#63845404] @legs variable was not being set in the controller.  Pulled legs from the itinerary variable instead.