Fix a crash when returning a tag while node_ is nil