Yes, because the clause, "After being baked in the oven for thirty minutes," doesn’t have an explicit subject<span>, although from the context you’d expect it to be food. The next words you see (‘<span> her guests were</span>’) are the subject of the sentence, but they clearly don’t match the preceding clause, because guests usually cannot eat cookies after being backed in the oven. </span>