Consistently handle nil nsnull