Most of the sections in Web.config can have a tag added to them - it might be worth adding this to the affected sections to see if it solves your inheritance probem (see Is it possible to completely negate a "higher" web.config in a subfolder? for some caveats to watch out for).