Order model fix for no order available

Fixes errors returned in Dashboard when No orders are present. i.e: new install.