Fixes `for` loop error when using limit or offset

Don't use undefined set method when setting for tag attributes. Instead directly define attributes object properties.
Merge pull request #19 from dhcole/patch-1

Fixes `for` loop error when using limit or offset