Constrain() - warning: second operand of conditional expression has no effect