Sometimes the favored class should match racial abilities, sometimes it shouldn't. Having favored class match racial abilities means that the race is very good at that one thing, but not terribly good at anything else. Having them mismatch slightly (as with gnomes) makes a race better rounded, IMHO.