TNL-549: Fix thread editing.