Distribution profile : Bundle ID mismatch issue

Hi , In one of our application we are having issues of bundle Id mismatch in the distribution profile. Say there are two applications X and Y.

Issue Description : On the developer portal inside the distribution profile the App Id shown is correct I.e of X but when we download the distribution profile and open it in the textedit we can see that the bundle id is of another application i.e of Y .

Due to which are are unable to submit or upload the application. 
 Note: Both of them have contact notes as additional permission.