Fixed bug

If the search term was an exact match it would have returned None.