Issue #24237:tweak timing of sFindSellingWarehouseItemsites and check for valid warehouse id