Fixes filters in SearchUserTasks

SearchUserTasks filter correctly searches tasks that meet following criterias
- User is the actual owner,
- User is the effective substitute of the actual owner
- User could potentially become the actual owner

This filter matches what is usually displayed in inbox (aka workitems aka todo-list).