discard empty expressions in setExpression (fix scrollbar in expression widget)