Fix NULL check.