\left. and \right. fixes issues with a missing delimiter (parenthesis) since LaTeX can only look at one line at a time. However, if the lines have different heights, the parentheses don't match. In such a case one can insert a suitable \vphantom, or use \bigl( ... \bigr), \Big, \bigg, etc.Stefan