Popping empty collection throws an exception.