Add the ability to mark nodes in unchecked state, so they won't be considered in the pattern matching.