Fix nullability checks in InfoEntity class