Fixed Object.keys() call on possible null value