Properly hide categories in filter block when marked as hidden