Fixed exception when sarching for an empty string with exact match.