Fix for Mageworx_xsitemap incompatibility