Some people might argue that the sentence should not end with a preposition, but I am not among those people. I find the original sentence to be perfectly fine. If you were to move the preposition, which would be quite artificial, you would have the following not so natural sentence: Prose was the first subject matter with which she had to deal.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.