More null checks, courtesy of Thaumcraft.