Hi, and welcome to this forum. Melodyne is likely set to percussive algorithm. Right click on your Audio clip, go to Region Fx and choose Melodyne, and Create Region FX. Under algorithm, choose Melodic.
Drag and drop your Audio clip to a MIDI track, and you should see the melody mirrored.
All the best.