PcbNew 6.99: DRC inadvertently flags aperture bridging error for mask aperture spanning items on same net

Description

DRC flags ".....aperture bridges items with different nets", but the items are on the SAME net.

Stripped down project: Aperture_Bridging_Bug.zip

Steps to reproduce

  1. Open the board attached
  2. Run DRC

KiCad Version

Application: KiCad (64-bit)

Version: (6.99.0-122-g9ba733f23f), release build

Libraries:
	wxWidgets 3.1.5
	libcurl/7.78.0-DEV Schannel zlib/1.2.11

Platform: Windows 10 (build 22000), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Dec 27 2021 20:59:59
	wxWidgets: 3.1.5 (wchar_t,wx containers)
	Boost: 1.76.0
	OCC: 7.5.0
	Curl: 7.78.0-DEV
	ngspice: 35
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON
Edited by Martin Straub