[DAL] Fixed GetPendingOrders issue. 
Issue is GetPendingOrders is returning null.