Handle null or undefined