Correction of order handling

Orders are returned as lists
Merge pull request #48 from DoumanAsh/master

Correction of order handling