Speed up associative matching by pre-checking groupings to see if they
have any chance of matching before attempting full associative matching.