LuaHexEditData: Added bounds check