Fix dumb missing nullcheck.