Fixed the resulting plotting bug.