Eliminate the selected choice in repeat loop

1. What is the issue? Please be detailed.
Hello All,
I am trying to eliminate the selection option from the select_one choice list in repeat loop. When I load choices using CSV then functionality does not work.

2. What steps can we take to reproduce this issue?
I have attached xlsform and csv for the reference

3. What have you tried to fix the issue?
I have tried testing multiple times to confirm if there is a spelling or syntax issue.

4. Upload any forms or screenshots you can share publicly below.
task_list_csv.csv (48 Bytes)
test_form.xlsx (13.9 KB)

I made some edits to the form based on Filter choice with values from the same repeat - #16 by LN. But I couldn't get it to work. I am wondering if it's a bug?

test_form.xlsx (22.3 KB)
task_list_csv.csv (94 Bytes)

In repeat 1, I selected task 1 for both methods (with options on the choices sheet and with options in an external csv file).

In repeat 2, the list from the choices sheet is properly filtered. The list from the external csv is not filtered; however, it does restrict you from selecting the option that should be filtered.

I removed the repeat_count and then it works with external file as well. It has something to do when value of subtasks_csv_selected is calculated.