You definitely did the right thing, from very beginning.
I understand that communication is the key, but for your case, if you reach out and communictate your concerns with her earlier, my guess is that she would have given you more difficult time. You did well!