#1019: Fixed safeNull to leave numbers as is, otherwise 0 becomes empty value.