Mine does this too.....I want the dock to be at the bottom right of my main monitor, underneath the desktop drive icons, but since my second monitor is placed to the right of the main when I choose right side the dock ends up at the right of the second monitor.
Ideally, when you open the monitor control panel and go to the position tab you should be able to choose which screen the dock goes on just as you do with the menu bar.