Fixing #3095

Add missing space before newly created groups to fix #3095.

cc @jancborchardt @Raydiation @raghunayyar @tanghus