I understand why $1/i$ is supposed to equal $-i$:
$$\frac{1}{i}=\frac{1}{\sqrt{-1}}=\frac{\sqrt{-1}}{-1}=-\sqrt{-1}=-i$$
and that $\frac{1}{i}=i$ is definitely wrong, since that would imply $i^2=1$, which is obviously false, however, I don't know what is wrong with the argument:
$$\frac{1}{i}=\frac{1}{\sqrt{-1}}=\sqrt{\frac{1}{-1}}=\sqrt{-1}=i$$