Fixed issue regarding publishing/unpublishing of records under Joomla!
3.2. Fixes #66 .