Check for compatible node labels in derived graphs and handle resulting exception.