Fixed issue #1228: Ignore by mask work recursively