[ZD#708471] fix TypeError in handleGetOrders
Merge pull request #15 from zendesk/bhass/ZD708471

[ZD#708471] fix TypeError in handleGetOrders