Fix bug with segment loader counting thingie