Nothing under this chapter shall be construed as affecting the powers and duties of the court of common pleas or the county board of elections and restrictions on alteration of election districts as provided under Article V of the Pennsylvania Election Code.