Core: fix topic retype.

It was broken 2 days before.