do not break params filtering on nil values
Merge pull request #165 from nashby/rails-issue-12149

do not break params filtering on nil values