Topicmaps: fix view after topic retype (#508).

Close #508.