Handle NULL case.