If a petition or comparable pleading is received by an inappropriate tribunal of this State, the tribunal shall forward the pleading and accompanying documents to an appropriate tribunal of this State or another state and notify the petitioner where and when the pleading was sent.
750 ILCS 22/306