Let $G$ be a finitely generated nilpotent group of class $2$. Denote the center of $G$ by $Z$. Let $H\leq G$ be a subgroup such that $[G:HZ]<\infty$. Does it follow that $[G:H]<\infty$.
Equivalently, since $[G:H]=[G:HZ]\cdot[HZ:H]=[G:HZ]\cdot[Z:H\cap Z]$, does it follow that $[Z:H\cap Z]<\infty$?