No,
I was think about all items that have incorrect information. All the items that have a description of the error to throw them out of the query as in the picture below.
I mean, for example, if there is no IN and there is an OUT, that item is mistaken and is eject from the report.