Alright, let me think (because I keep reloading my game at the broken Waking Nightmare quest and then doing other ones, they break, and then I don't save it) so...
- First I did Waking Nightmare, obviously, and it was broken due to that "getting stuck in the dream" business.
- Then I did...