Fix incorrect logic in #pop
More descriptive name.