Force distanceCounter to be a number on Set instead of null
Fixes #26