Fixed bug with not properly resetting when loading a new config