Data imputation on distances is performed only when needed by Distances widget