This PR adjusts the search to consider all subregions passed in the get arguments.
Before that, only the last subregion was used in the search.
Example:
Before this PR
![image](https://user-images.githubusercontent.com/38709777/173352518-1a9558e0-008e-4df4-99e8-e1234814e23b.png)
Cities of multiple states were returned, even with the "Maranhão" state being passed has parameter.
After
![image](https://user-images.githubusercontent.com/38709777/173352474-065543dd-0ff7-4dfd-bb88-c3f6ecd75bdd.png)
Only the city inside the "Maranhão" state is returned.
This PR adjusts the search to consider all subregions passed in the
get
arguments. Before that, only the last subregion was used in the search.Example:
Before this PR
![image](https://user-images.githubusercontent.com/38709777/173352518-1a9558e0-008e-4df4-99e8-e1234814e23b.png) Cities of multiple states were returned, even with the "Maranhão" state being passed has parameter.After
![image](https://user-images.githubusercontent.com/38709777/173352474-065543dd-0ff7-4dfd-bb88-c3f6ecd75bdd.png) Only the city inside the "Maranhão" state is returned.