Added a more helpful message to plot output when data is "bad".

This is when the spectral pipeline encounters a target with
repeated scan ids.