Only generate stats if we have marks. Fixes index generation on initial pull.