Fixes issues disabling mods when caseAllFiles is set by the pack dev/s