Removed unnecessary to_f conversion in order_stats method