Use max on the iterator to find the last key