[FIX] - EventCacheDialog - if events are removed from the cache and so
the next page to load would be after the last page, the last page is
loaded.