fixed the woocommerce_order_item_needs_processing filter
Merge pull request #5927 from claudiosmweb/fix-need-processing-filter

fixed the woocommerce_order_item_needs_processing filter, closes #5877