Fixed bug where sync_keys.pl would not actually delete keys