fixed bug with order history, only compelted orders now show up in the t...

...able