Fixes NPE when passing null string into PredicateParser#parse.