correct gworkflow graph when activity labels are the sames (closes #4191)