Re-check pick lost merges into master

Fix bug in finding the first dirty graphnode of a complex DS statement