refactor active schedule with max tasks restriction verification.