Added query for placename-small from the way table