Updated diagonalUpdate so it will never attempt to insert a Q-type operator that wraps around the boundary if OBC are on.