Render should still work with selectors

This cropped up from #1430 and #1432. #1432 broke using render to target a selector instead of a direct node reference.

There is now a test to make sure a render to a selector string works.