Fixed bug with topics editing script.