use 'active' flag when checking isDue and nextRun