Lens Correction not working

No, AFAIK dt never automatically decides for you if to apply the module or not. The module is auto-applied only if you defined a preset which tells dt to do so.
Did you check the name of the lens for the files working and those not ? You can use exiftool for this task. Check every single character !