Prefilter categories and recognize case when no gold standard exists