Don't throw an out_of_range exception in pop