Fix for access violations.  Properties can be nil.