Modified events handling
Merge pull request #39 from tobozo/apply-products-loop

Modified events handling