Fix folder deletion logic

With delete0 set to 0, the script deletes all hourly backups. At least
when run in cygwin.