Fix the Enum#hashCode pitfall