Use `reject` instead of `delete_if`
Merge pull request #89 from theodi/bugfix-use-reject

Use `reject` instead of `delete_if`