For COALESCE, return null for empty or null input