Log a warning when querying a bad node.