MDL-25478 - stop fatal errors adding blocks on the module edit page