Fix using null for a non-nullable argument