fix class and classtemplate incompatibility with pimcore tab panels
Fix compatibility earlier pimcore version