I don't think it can return a node ('unless node?'), but I think you're right that it should be [rdf_subject.to_s].  That's not a problem introduced here, but this would be a good time to fix it.