fix deleted datasets cron script