When updating order status, ensure its a valid WC order status.

Fixes #6285