Update PlotMod.cs

fixing check order