Fixed adding/updating membership when order status is changed to completed