Fixing bug in SafeTableName