Fixed a bug with network searches.