Correct REDEqualityPredicate for testing against nil.