Fix the include-ancestor-masks config option