correction to null check

covers cases where the object is NSNull, but not nil. NSNull != nil
aha. Did not realize we had an isNull function. Using that now :)
Merge pull request #99 from BillinghamJ/null-check-bug

correction to null check