```c++
if (!(boundary_condition_node.first.compare("BC") == 0)
    continue;
``` clarifies what is going to happen in the unusual case (and reduces indentation too).