Should fix https://sentry.io/share/issue/d832654bdb1b43c4832f8cd97fa224c1/. The max distance configuration values may be strings.
@authors