Issue #23166: Inventory Availability by Work Order issue with irrelevant orders being displayed

Adds clause for wo_ordtype to filter by work orders only