Fixed a bug when mapping a DBNull.Value to a property value