Fix edge case where initial connected percent is 1

Fixes #45. Still needs a unit test.