msc: Add filtering feature for group commands