Hi, welcome to osm.
Building:flats is not for listing the individual flats numbers (eg 1,2,3,etc) - it is for listing the number of flats (eg 30)
Do these apartment buildings really have names as you have tagged or would the addr tags suffice.