Fix missing RMS plots in some cases (caused by plotting #inf