Thread replies order bug fix