It make sence to switch bettween only active windows.
As for closed ones maybe if user had means to change this shortcut (option+cmd) or set specific numbers (instead of "3" in my example). RN its not clear how they get counted and wht. if so then:
1 I open only windows I need rn and switch between using shortcut with arrows
2 if I need to open closed window (that I set up earlier and remember its purpous) I use shortcut with that specific number.