0.12-stable: Follow-up to 10630, added a missing `DISTINCT`. The tests passed before, and I thought I had added some tests for this case, but I seem to be wrong.
0.12-stable: Follow-up to 10630, added a missing `DISTINCT`. The tests passed before, and I thought I had added some tests for this case, but I seem to be wrong.


git-svn-id: 764b04d0c6fbbea0ee05220aef3208173ff13049@10631 af82e41b-90c4-0310-8c96-b1721e28e2e2

rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac