Well, it would be a great advantage if the specialization matched the subjects you’d want to teach.
However, there’s always an option to go for the master’s degree, which will further help in cementing the knowledge and mastering the subjects better.