fixed predicateFromStringOrDict: not working with quoted strings