For empty queries, need to return Decimal 0, not float