Flagging posts in closed thread causes an error

TNL-151