Fix deletes not updating correctly