Fixed an issue where null is being type checked as an object and then get is being checked on null