Peloton and Apple Workouts

Hi. I use the peloton app, bike and tread which link with my Apple Watch/health but I sometimes find the MFP duplicates workouts. It’s only sometimes not all the time which is strange. Does anyone else find this and know what causes it?