fixing the plone.app.upgrades bug