removing checks for checkPositionContainment; it isn't actually needed
and doesn't actually work when parts of the parse tree are nullable