Fix the nullable typo in log model