I really highly doubt that she did this particularly to offend the parents. In fact, I very highly doubt she had any clue that they are such strong atheists, and performed the prayer as something that she just usually does at funerals.