Replace set(list(<string>)) with set(<string>).