Robustness of Network Inference Algorithms under Network Class Misspecification