Consider the polar equation $r=2\csc\theta$. Rewriting this, we may say that $r\sin\theta=2$ or simply $y=2$. Is there not something lost along the way? It seems almost inaccurate to say $r=2\csc\theta\Leftrightarrow y=2$ from one system to the next (at least without some sort of remark) since $$ r=2\csc\theta\Leftrightarrow r=\frac{2}{\sin\theta}\Leftrightarrow r\sin\theta=2\Leftrightarrow y=2 $$ glosses over the fact that we cannot have $\theta=\pi k, k\in\mathbb{Z}$.
Is the reason we say this since $\lim_{\theta\to0^\pm}\frac{1}{\sin\theta}\to\pm\infty$ and hence $r$ extends infinitely far? Is there more rigorous justification needed for equality of equations in the two different systems?