Fixed deprecated collection type name usage
Order count in sales report was wrong (#872)