"Interface Definition: Expression evaluation error at function 'union' parameter 2 [line 33]: "

Hi,
I have created a task report where multiple filters are required. One of the filter is like keeping a dropdown for list of tasks available and based on selection, only those tasks should be populated in the grid. Initially the grid is displaying all the Tasks. On choosing a value in the drop down, it throws a error
"Interface Definition: Expression evaluation error at function 'union' parameter 2 [line 33]: "
I have attached the code.
Thanks in advance.....

Task Report.txt

OriginalPostID-126532

OriginalPostID-126532

  Discussion posts and replies are publicly visible