Use nz rather than ne when testing for NULL

They are aliased to the same flag, so this is a nitpick;
however nz implies that we want to test for non-zeroness
and ne implies that we want to test for equality.