Fixed bug when duplicating configurable products
Added Magento CE 1.7.x compatibility