Work around lack of dict_keys index in catch-all