fix case where node was marked complete where it should not have been (closes #189)