Multiple devices and heart rate. Edge 830

Hi. I have a Garmin Edge 830 and Vivoactive 2. When I finish a cycle I upload the ride all fine but t sync it also seems to pull in the passive data from the watch. When I look at the maximum heart rate in Connect it isn't the correct setting. It seems to pull it from teh watch and not from the rode data. For instance I will look at the ride and it will say 165 Maximum heart rate but the dashboard will have max heart rate at 140. I guess this is also skewing calories burnt. Any advice?