Tempo problems with imported audio files
I'm trying to create a DJ mix in Logic Pro 10.4. I have the project tempo mode set to 'Keep Project Tempo' and the flex and follow setting for imported audio set to 'On and Align Bars and Beats'. However, when I import my audio files some of them speed up and slow down seemingly at random despite my project tempo being set to a constant bpm. Can anyone explain this and/or help me fix the issue? It seems like what I'm trying to do should be relatively straightforward for the software to handle.
OBS,MacBook Pro (13-inch Mid 2010), macOS High Sierra (10.13.6)