Fix for https://github.com/plone/volto/pull/5106
