This is customized because of stupid logic implemented in the attributes
calculation. This should be moved to volto proper. The difference is in Element
