Change order of search criteria so that first attempt doesn't look for exact match.