protecting countAllParses, constructUniqueParse and constructAllParses
from undefined input SPPF nodes (i.e., when there was no valid parse)