Fixed a NPE when loading a targetkey that doesn't have it's values set