Catching exception from not finding a match.