Fixes issue #405 transition in switch not rendering

The word transition was getting added twice