CompositeCommand equals