dbcheck: cope with objects disappearing during checking