Fixed null presence bug.