Fixing deposit flag value type.