Fixed the case of NULL.