Correcting graph handling of missing values of medians