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

Thanks for noticing the bugs Pax!

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>