RUBY-805 filter collection names in the command