Bugfix: Delete All Hints

Uploaded too early, sorry.
Fixed two typos that prevented the script from running properly.