Fixing memory leak of NSCompoundPredicate introduced in changes for IOS-470.