This fixes issue #994 - Category_Model::get_categories doesn't work with prefixes in the database