Fixed a black hole state problem in AEBlockScheduler

Many thanks to AndreasHerbig for diagnosis and solution.