Added removeInputSelections to ExpressionUtil