Fix for a mistake spotted by Enrico with the SBThread::queue_id accessor.