Fixed the issue with some plugin selections crashing OpenCOR on restarting (closes #401).