Fixed potential invalid hashCode creation.