correct workflow graph when quote are in labels (closes #4044)