after posting this, I realized I should have moved the line after the definition of the Title node. But the post was in the moderation queue and I could not interact with it until now.
Perhaps that should be mentioned in the text, as the lack of indications made it appear so that any place would be ok.