Filing for custody action re:provisions

In reading my notorised out of court custody agreement it states in provisions that:

1.JURISDICTION- Each party hereby submits to the jurisdiction of the court of the state of XX in any future action brought by either of them to enforce the provisions of this agreement.

  1. SITUS- This agreement shall be construed and governed in accordance with the laws of the state of XX.

  2. CONSTRUCTION- This agreement is to settle the issues of child custody, visitation, and support pertaining to the minor child.

Since I signed this in another state, but have lived in NC for more than one year, do any of the statements above bar me from filing an action in court for custody proceedings in NC? Basically have I waived my right to future action in any other state other than the original state that the agreement was signed in?

If you and the children live in North Carolina, and have for the previous six months you may file an original action for custody in this state.