node: fix #7841 by overlooking the spare sourceline

See **title** :)
I'd wrap both loops into an if statement, checking the `end + off < sizeof(arrow)`.