search for exact matches first, fixing #533