fixed bug in WormPlotter

... == np.NaN doesn't work, must use np.isnan(...)