correction to null check

covers cases where the object is NSNull, but not nil.

NSNull != nil