Lazy node assertions without performance penalty