minor bug fixes for display of orders in varieties

both for history and order-view