Bugfix rendering RSS feed items

If the link-node is set before the title-node in the rss-feed, your script will output an "undefined"-title for the first item and every item title is shifted for the next entries.
I simply moved the condition out of the node-loop to fix this issue.