Fixed bug with enum fields in the grid