fix log error when resultsets for repo is 0 length array