Fixed a minor type checking issue where a warning is incorrectly logged on a Null typed column