Fix for plone.schemaeditor in Plone 5