fixes #4375 fix total is not available in records to plot if enabled