After playing the progression:
Going back to the Dm9 right after this sounds pretty bad. I assume because the C9 implying key change from minor to major (D minor to F major). If left out, this sounds fine.
Why does the C9 chord function like that? I think that the progression sounds nice by itself, but would like to repeat it once more but it's being prevented by that.