Fixed bug in diff plot.