Added code to remove redundant scheduler registration update tasks.
Fixed comment.