Handle sql null types in SetModelValue