I just tried setting this up something similar to test and it’s working correctly with the code that you originally supplied. The only thing I’m not sure of is the field type at this point. Is this with a Taxonomy field or something else?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users