Fixes bug in incrementing member count.