Bugfix for when deleting underneath a collection