Fix problem while addin NaN to the RRDs.