If the query does not filter out the deleted items they will show in the results of the query. 

To remove the deleted items from the query:

  1. On the query Criteria tab,
    • Select the appropriate transaction type, Deleted (or Voided?) equals No
      OR
    • Select the appropriate transaction type, Status equals Deleted or Voided
  2. Click OK.
  3. Click on Run or Results.