Don't try to decode the old NSData or NSDate values when the property has been set to nil

The same conditions are used in getValueOfProperty: