Fixed adding/updating membership when order status is changed to complet...

...ed