[Bug 21046] cmd does not handle all operators in 'if' command