slice filter
Use Integer() instead of to_i
Merge pull request #406 from Shopify/slice_filter

slice filter