Fix display of ended sales in offer window

Addresses #874