get_last_attnums must not look inside Grouping for the same
reasons as Aggref.