Update fields.lua

reverted size check, and went back to checking for types in set (added 0x04)