Fix in generating a hashCode when value not initialized.