Bug fix in network query.