Fix for != predicate (Thanks to @sigmundfridge)