Maybe it's intended to be read:

A well regulated Milita (the right of the people to keep and bear Arms being necessary to the security of a free State) shall not be infringed.

Course, that doesn't clear it up too much then does it?

Maybe Madison phrased it that way as joke, knowing it would spark a big debate.