Your solution solved the question as asked.
Additionally, the problems you mentioned helped me realize that my plugin was poorly designed. The ACF Options Page turned out to be a much better, and much faster solution for what I am trying to accomplish ( no more get_posts() in my plugin file ).
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users