Fix bug with concatenation result type