Fix get_base_country Closes #3851