Fixed a bug in detecting WPA2 networks as WPA2 networks.