explicity convert nil to 0 and always call filter methods
Version bump to 0.1.7
Regenerate gemspec for version 0.1.7