Have a look at this post. Maybe it will give you some clue how to proceed.
At the end it is just about using right exclusion/inclusion patterns.