Fix access to uninitialized measurements when tuning.