Added instructions to isCommutative() function that were missed in UB patch