CompoundPath bug-fix