Fixed bug in null value analysis