I realised you were talking about PF2e after reading other comments, I'm not too familiar with its rules so I didn't recognise it.
Are flat checks not altered by features that alter all checks in PF2e? There is no 'flat' terminology in the RPGs I'm familiar with so I just presumed it would be altered as it would be in 5e.