Fix infinite recursion in geocoder (fixes #1580)