Fix NPE in Equality