Fixing dashboard listing query.