Fix error with matrix slicing bytecode generator