Fixing hash column type