Matchlist optimization

Decreases the number of queries from ~2000 to ~25 and query time from ~3500ms to ~250ms on Goody's page (worst case).