I think, it`s just that you are computing on an algebraic structure with a set of real numbers, which do not contain the infinity. Therefore, to be mathematically correct, you should always compute in terms of limits. Then it leads to the equality sign.
You are very correct Andrej. I found the answer after positing the question. But, thanks again. In any case, it has to be the equality anyway:) Have a nice day.