Fix bug with properties of type Nullable<T>