Fixed bug when deleting topics
Updated checks on URLs