Chamomile tea.

I am 28 weeks and 3 days . I stay having trouble sleeping. Well my doctor told me to drink chamomile tea or take Tylenol pm. I bought the tea last night and had a cup. Well this morning I Google benefits of the tea while pregnant and it says it could cause miscarriage . Is it safe to drink this tea, I don't want to hurt my baby.