Fix MultiValueDictKeyError on no next in GET.

Bug #8150.