[Tex/LaTex] Nested itemize environment affects vertical spacing of parent itemize environment

beameritemizelistsnestingspacing

I have two itemize environments, one is nested in the other. Somehow the nested itemize environment affects the vertical spacing of the adjacent item of the parent itemize environment. As you can see in the example below, the vertical space between b and c is slightly smaller than between a and b. If I remove the nested itemize environment, the vertical spacing between b and c is the same as between a and b. How can I achieve equally spaced items in an itemize environment nesting another itemize environment?

enter image description here

\documentclass{beamer}

\begin{document}
  \begin{frame}
    \begin{itemize}
      \item a
      \item b
      \item c
      \begin{itemize}
        \item d
        \item e
      \end{itemize}
    \end{itemize}
  \end{frame}
\end{document}

Best Answer

This issue appears to be solved by leaving a blank line before the nested itemize:

\documentclass{beamer}

\begin{document}
  \begin{frame}
    \begin{itemize}
      \item a
      \item b
      \item c

      \begin{itemize}
        \item d
        \item e
      \end{itemize}
    \end{itemize}
  \end{frame}
\end{document}

comp