Fixes a bug in the detection of new checks that prevented deletes