Replace isset() statements with null equality checks