Change reference classifier to only tag last entry