Prevent NaN scores in local disambiguators for subgraphs with size 1 (or
2)