Good catch, but it appears that is not the likely end of the matter.
http://blogs.wsj.com/law/2016/03/11/pennsylvania-judge-rules-that-ted-cruz-is-eligible-to-run-for-president/
That is true, but might other courts look to this case and use it to sidestep the whole issue.