A 2D harmonic oscillator \begin{align} H=p_x^2+p_y^2+x^2+y^2 \end{align} has 4 constants of the motion: $E$ the total energy, $D$ the energy difference between coordinates, $L$ the angular momentum and $K$ the correlation. For example see https://doi.org/10.1119/1.1971258
I often read that a system can have at most $2n-1$ constants of the motion, and such a system is maximally superintegrable. In this case $n=2$, implies the most constants of motions the system can have being 3.
Further a 3D harmonic oscillator has 9 constants of the motion, and $9>5$.
How is this reconciled?