Fixed bug where threadid didn't carry over in edit