[+BUGFIX] check if category is class of Mage_Catalog_Model_Category