Just to be sure, check for null in the hash and equals methods