NIL correction fix for analyzer

Signed-off-by: Vidhoon Viswanathan <vidhu2366@gmail.com>