IT 275 - Story:#4122 Compare Helper Update

The code could work, I saw such usage before, and I also tested in this case, though it seems no much benefit than an if else.  :)