Don't crash when keyeditor is empty