Recently some Vanguard investors received a "bad surprise" in the form of significant capital gains taxes. How can you avoid some of these "bad surprises" with your own investments?