getallcategories criteria fix

same criteria for albums as …::getAll()