[~BUGFIX] Restored compatibility to Magento versions < 1.7