You have me stumped. I’ve looked over this a couple of times and I’ve even did a test of my own it’s working as expected. I can only assume that there is a conflict somewhere. Do you have any acf/update_value filters that might be acting on these fields?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users