Only use the search key if we have an exact match.

refs #987