Pass the discounts array to the filter.

Allow for filters to know as much as the function.