[generic] Allow multiple matches for generic hits (Fixes #2818)