Fixed an edge case with the custom entity block data update script to do with orphaned data.
Fixed an edge case with the custom entity block data update script to do with orphaned data.

cofoundry-cms/cofoundry,cofoundry-cms/cofoundry,cofoundry-cms/cofoundry