This is good for include=a.b.*,a (though highly unlikely to happen in practice). Maybe add a test as well?