improved handeling of RelationalExpressions