fixed false negatives: parent hostnames need to be tested too