Fixing the ExecuteScalar issue if null col type