Fixed bug that was preventing find place and city from working.

Closes redmine #28338.