fixed bad query in issued/received report