Conditional Concat with space

Thanks that did the trick and also works if there is no middle_name or value is null in doc.