Do not do a list_nodes_min for --query commands
Satisfying s0undt3ch's pendatic nature
Merge pull request #13903 from techhat/minlist

Do not do a list_nodes_min for --query commands