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