Updated State so that it will not err if the requested property doesn't exist, just returns null instead.