If limiting to 7 rounds is unconstitutional, based on handguns in common use having more, then a 10 round limit would be unconstitutional also.
How many AR’s commonly have 20+ round mags?
AR15’s and M16’s were originally issued with 20 round magazines. 30 rounders have been “standard” capacity for a long time.