Fix WS getHostsLocation, filter by hostname