Fix a couple bugs in the delete pre leak script because I'm bad.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>