Default Phone forgetting networks after turning off wifi

Whenever adding a new wireless network, android seems to forget the network after disabling then re-enabling wifi. I am forced to manually connect to the network and enter the password each time. This also happens with open networks. The problem occurs on any wireless network, at home, work, public networks, etc.

Further inspection on the /data/misc/wifi/wpa_supplicant.conf file shows "disabled=1" added to the end of each network. You can find a screenshot here []

I've tried other suggestions here on the forums with no luck. This has been going on for weeks. Any help would be much appreciated.

Phone: Nexus 4

Version: 4.4.4