see https://github.com/plone/diazo/issues/35