Check for 0 not only for null.