Fix an assert in SMP case