WEIgnore: Handles more scenarios and use-cases.
Merge pull request #1286 from am11/master

WEIgnore: Handles more scenarios and use-cases