small fix for errors in admin, also added ability to filter subcategories by their parent categories