A Dsus chord can be thought of as C/D which explains the voicing you're getting.

However, it doesn't explain why it's doing it when you put in a D7...

If you want a Dsus4 or Dsus9 chord, try typing those in explicitly and see what happens...

Toaster