It's perfectly fine to use a natural 9 over a IIų and still preserve the feeling of a minor key. Context is everything. Play this passage with Eb instead of E natural over the Dų. It works, but is to my ear less interesting.