Fixing minor error with tags. Bug left over from refractoring.