network: Fix for return value when obtaining list of records per host