Fix potential bug in pop_half.