Take ownersship into account when exclude: true

fixes #341