tidy sql, remove [Deleted] = 0 check on schedule->activation