Updated processing of _filteredKeys to fix bug

Updated calculating of whether a key should be filtered when iterating through the _filteredKeys array because Array.prototype.indexOf is not available.

Fixes #58
Merge pull request #59 from roryprimrose/patch-1

Updated processing of _filteredKeys to fix bug