Fixes to delete script, check-my-work utility function.

Fixes for outdated delete script

- Update selector for text search box.
- Changed the order of clicks for slight increase in performance.
- Added `checkMyWorkBox` to ensure "My Work" box is checked, to do the opposite of `uncheckMyWorkBox`.
- Made script ensure the "My Work" box is checked instead of just clicking on it, so it works regardless of what state it started in.
- Removed some whitespace.