make sure wholeFieldPredicate returns a string