Revert "indexing problem with scheduled nodes fixed"

This reverts commit 4285b5050e9997200ee24083cf992cecc0988e73.