Refactor RelativeDates, and fix the last index refresh timer not being always updated.