Fix Smart Search autocomplete issue

Tracker issue:

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