Added missing relational operators to pattern, as suggested in #6189