Fixed bugs in structArray for unpack of structField and list slicing