Hotfix: bug in membership checking affecting the statistics module