Correct the if in results with formatNoMatches