Hi @jomoengineer,
Yes, I can confirm this is an error in the sketch. 1.2.1 is the latest version.
The next version of the the WiFiNINA library will change the == to a >=: Bump latest version, and use >= in check · arduino-libraries/WiFiNINA@7798c81 · GitHub