I've been struggling with this problem for the last few days, and this is the only place I've seen anyone discussing this issue. I also use Avast, but even though I don't have the Cleanup component installed, my tasks were still being disabled. I tried disabling Game Mode (not to be confused with Silent Mode), and that seems to have done the trick. Also, I did not have to disable the Avast scheduled task.