Add equals and hashCode method for ChannelQuery