Minimal fix for #25

With this fix plumed crashed when using ADAPTIVE=DIFF and replica
exchange.