Fixing hash with indifferent access issue