BACKLOG-5041 Implement all comparison operator and add a new "exists" one.