Can't avoid CTE mismatch