Fix command to work with deeper namespaces.