Fix for using low row index in matrix ident