Fixed a bug with PerkEditor.