Fix a fatal error that broke (re)moving topics.

Signed-off-by: Yoshi2889 <rick.2889@gmail.com>