Bugfix: category retrieved using id and not name. Safer considering subcategories