Fixes to markup when rendering multiple badges.