Revert "Remove unnecessary ternary operator"
Revert "Remove unnecessary ternary operator"

This reverts commit 97b6bb948f9c298b4d6c30ceddf9702e85b2d046.

ankane/geocoder,rdlugosz/geocoder,AndyDangerous/geocoder,TrangPham/geocoder,aceunreal/geocoder,Devetzis/geocoder,donbobka/geocoder,alexreisner/geocoder,tiramizoo/geocoder,brian-ewell/geocoder,mdebo/geocoder