TNL-549: Fix thread editing.
Merge pull request #5483 from edx/anton/fix-forum-edit-thread-rc

TNL-549: Fix thread editing.