Optimize expression for !=, <, <=, => and > operations

Cast is done in building expression not evaluating expression.