Error checking for empty reply from server upon querying. Null is returned in the instream if the query is invalid (ie. one of "type", "group_id", "time_to", "time_from" does not have correct data entered in)