Prevent duplicate counts in subtag summary calculations