Block filtering by module does an incorrect comparison fixed, closes #339.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Fixed tickets | #339
| License       | MIT