For reasons of my own (so please don't advise me to simply not do that, I considered that already) I want to have this expression in the title of a section
\section{$\left< a \vphantom{L} \right| \left. b\vphantom{L} \right>$}
but this gives me
! Incomplete \iffalse;
Any idea why that happens? And maybe a workaround?