graph-view: fixed a bug where the last comma in the fields was ignored