Fixed issue with all plugins being disabled on upgrade. #103