Fixed delete topics functionality