Compare node labels correctly
Silence some resource redeclaration warnings