Update Topic.delete/1 to only delete inactive topics