Moved `queueLocalDeletion` call back to before the deletion.