Simplify get_sales(). #1919