fix default value condition
Merge pull request #2557 from mapycz/fix-simplify-radial-distance

fix default value condition