Use a more sensible `hashInteger` implementation