Fixing error when searching with "all" towns selected