NSArray and NSSet additions for Key-Value filtering