Implements getWord for proper filtering per https://github.com/joomla/joomla-cms/pull/1778#discussion_r5928657. Thanks Michael!