Netclass is not applied to bus range signals

Description

I dont know if it is intended behaviour or an issue. After defining a bus, as shown in the image below, and assigning a net class, only signals that are not defined with a range syntax (e.g. XY[1..4]) are added to the net class. Same behaviour in pcbnew. image

Steps to reproduce

  1. Create bus with range based signals and fully written signal names.
  2. Unfold bus.
  3. Assign net class to bus.

KiCad Version

Application: KiCad x64 on x64

Version: 7.0.10, release build

Libraries:
	wxWidgets 3.2.4
	FreeType 2.12.1
	HarfBuzz 8.2.1
	FontConfig 2.14.2
	libcurl/8.4.0-DEV Schannel zlib/1.3

Platform: Windows 11 (build 22621), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Dec 28 2023 21:18:15
	wxWidgets: 3.2.4 (wchar_t,wx containers)
	Boost: 1.83.0
	OCC: 7.7.1
	Curl: 8.4.0-DEV
	ngspice: 41
	Compiler: Visual C++ 1936 without C++ ABI

Build settings:
	KICAD_SPICE=ON