Don't deref null pointers