I kept on asking this question during that dream sequence only…so the short answer is… makers wish…
and that time there is no way they can show that Shiva is by mistake doing that ritual with Raavi … because her all rituals are done with Shiva first time…