Switches to check for null, not undefined.