How to deal with accidental matches