crash fix

if composer is opened in a topic that was deleted/purged