Fix [#33433] Error when duplicating module

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