Fix bugs with node map creation + reverse property.