Ah, yes. The filter is calling the ruby .capitalize method on the entire field, which lowercases everything and then capitalizes the first character (so the first mutate is not needed). What we need to do is chop the field up into words, capitalize each one, then put them back together.
ruby { code => 'event.set("Group", event.get("Group").split.map(&:capitalize).join(" "))' }