OFMethod: Add one more NULL check.

This makes sure we never compare anything with NULL.