Fixes index being too small if confs with equal subsequent elements were printed.