fixes reset looping through a hash and not array
Merge pull request #14 from Shopify/reset_fix

fixes reset looping through a hash and not array