Correcting conditional check in plotter from previous commit