Fix duplicate url_key's for Magento 1.8/1.13 compatibility