I know this is kinda late but perhaps could help others seeking to solve similar problems. I managed to do this by registering a transient value in the AJAX call which is immediately available to filter, populate, and correctly save post object selections.