Minor fixes to graphing backend