Don't put extra spaces in tags when adding defaults.

This was causing a test to fail.