Implemented MinimumScoreFilter for grouping