I believe all three of those are equivalent. All of them should match any object that has a name tag.
Can you post the full command that you’re running? I suspect that what might be happening is that you’re also keeping ways, and the nodes without a name tag are the nodes that comprise those ways.