Fix bug w/renaming @type blank nodes when flattening.