Fixed another unlikely NPE.