Trivial null test bugfix