So let me get this straight. If one of my Pokemon has less than 5 TMs and/or Egg Moves, I can add moves until it has 5 moves of each category. However, if one of them has more than 5 Egg Moves and/or TMs, I can't add more moves of that category.
Apologies for being sloppy, and thanks for your time and understanding.