Really remove all duplicates from the statistics
Closes #496 (closed)
Previous behavior
Steps to reproduce:
- Create a member with two (non-overlapping) memberships: one with type member and one with type honorary member.
- Go to the statistics
- Notice that the reported total amount of members is different from the total amount of members reported in the "Members per member type" chart.
New behavior
Steps to validate that it works:
- Create a member with two (non-overlapping) memberships: one with type member and one with type honorary member.
- Go to the statistics
- Notice that the reported total amount of members is equal to the total amount of members reported in the "Members per member type" chart.