Fixed findSlotOrigin AIOOBs due to wrong upvalue indexes