According to Pokebase, this is wrong.
If there are too many candidate moves that the baby can learn, they follow this precedent, with each new move overwriting previous ones:
Level 1 moves.
Moves that the child learns by level up, if both parents have them.
Any compatible TMs, HMs and move tutor moves known by the father.
Any egg moves known by the father.