fix an assumption in sleepq_remove()