Glad to see you figured it out and marked it resolved, When I woke up this morning I realized that I have not use these commands for a couple of years and wondered if they still work. Even though you resolved it i'm figured I might as well post my results.
It's a boring Saturday so I decided to document what I would do to accomplish what I think you are trying to do.
Before I start I looked at the WiFi networks I was receiving and the total was 9 and one of those belonged to me.
Note:For Privacy reasons I will not show the 8 WiFi networks that do not belong to me that are near me.
I wanted to make sure I am starting from a clean state and have no filters enabled.
netsh wlan show filters
I had no filters but if i did i would of deleted them first:
Delete Allow list filters
Delete Block list filters
netsh wlan delete filter permission=allow ssid="WLAN name" networktype=infrastructure
netsh wlan delete filter permission=block ssid="WLAN name" networktype=infrastructure
Next I blocked every SSID:
netsh wlan add filter permission=denyall networktype=infrastructure
As I expected when I clicked on my network icon in the lower right hand side of the screen there were no WiFi networks displayed.
Now that I got what I wanted Iím going to add my WiFi router.
netsh wlan add filter permission=allow ssid="Bad Robot" networktype=infrastructure
As expected now when I click on my network icon in the lower right hand side of the screen only my WiFi is visible.
Although in theory the way you did it should work the same as the way I did it I would try my way and see if works the way you expect.