now can match multiple ref items (or multiple instances of a single ref) within query; can report up to --max-matches of them per query