MDL-22019 fixed notices caused by deleting blocks without unisntalling