Duplicate voting is a matter of quality. Ideally, the question with the best quality should stay open. This depends on how it's written, any answers, and community reception (aka up/down votes). The goal being that the best information be shared and the lesser one closed.
Here, both the question and answer are higher quality, and voting reflects that as well. Sucks to be your question, but on the bright side, it doesn't negatively affect you.
On more technically minded questions, sometimes answers or questions are moved or merged if both exhibit good information.