Fix incorrect logging output

Change in db9bc6929657fac40cf25af94bf919f1b213655a broke logging not to
output number of ranges out of sync.