Spaces in group names?

I was messing around with VMware inventory, and grouping off of the VM Folder however, ours have spaces in the names for some of them. When I target them ansible is treating them as two items, rather than a single. Is that intended behavior, or a workaround?