Since not all races provide the benefit of an additional career skill and/or additional ranks, you cannot generalize the issue.
In the case of the Deep Elves, the skill is a special feature and taking the Mage career afterwards has no mechanical impact nor benefit as @Swordbreaker already mentioned.