[#33547] Fix issue in legacy routing

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33547&start=0