As we want to delete to oldest entry, we can use begin() instead of upper_bound(0)