I cannot reproduce the exact problem, but generally you should not use stringWithFormat
to create predicate. It causes problems as soon as the substituted key or value contain
any special characters like spaces or quotation marks.
A better way is
self.myFilterPredicate = [NSPredicate predicateWithFormat:@"%K == %@", kind, value];
%K
is a placeholder to be replaced by a key path such as "status".