Improve performance for Promotion.applied

* An improved version of spree@6a5f22c