Bug 6997: Koha-remove leaves system in inconsistent state