Fixing bug with enum column