Only increment feature_id idx when a hit occurs.