The max level card on gacha leveling another card is guaranteed only if you have another N card that isn't max level. It may randomly choose a R or SR card to level instead, but it has nothing to do with ex levels. I had all my normal cards capped well before i hit 50 and was getting tons of n-wild cards out of normal gacha, with maybe 1 in 10 leveling a random r or sr card.