Added proper value for when order was generated