[P3]Confirm deletions, and shorten some queries.