fix lexicographical compare of EventCause