A weightless rigid stick with length $d$ lying on friction-less surface. Mass $m_1$ is attached to one end of the stick and mass $m_2$ is attached to its another end. Bullet with mass $m_0$ and velocity $v_0$ flies perpendicular to the stick, hits mass $m_2$ and gets stuck inside it. As result stick starts rotating around its centre of mass ($CM$) (it gets translation as well, but it's not relevant to my questions).
After the bullet hits the stick, $CM$ of the resulting system locates at distance $l$ from $m_2$ (and $m_0$ inside it): $$l = \frac {m_1 d}{m_1+m_2+m_0}$$ Moment of inertia of the resulting system is: $$I = \frac {m_1 (m_2+m_0) d^2}{m_1+m_2+m_0}$$
Before the bullet hits, its angular momentum relatively to $CM$ is: $$L_{before} = m_0 v_0 l = m_0 v_0 \frac {m_1 d}{m_1+m_2+m_0}$$ After the bullet hits, the system angular momentum relatively to $CM$ is: $$L_{after} = I \omega = \frac {m_1 (m_2+m_0) d^2}{m_1+m_2+m_0} \omega$$ Due to angular momentum conservation $L_{before} = L_{after}$ and thus: $$\omega = \frac {\frac {m_0 v_0 m_1 d}{m_1+m_2+m_0}} {\frac {m_1 (m_2+m_0) d^2}{m_1+m_2+m_0}}$$ and from here I got: $$\omega = \frac {m_0 v_0} {d (m_2+m_0)}$$ For me it seems strange that resulting $\omega$ doesn't depend on $m_1$.
What do I miss here?