Advanced Search "Display Results As" always displays contact tasks on first search
To reproduce:
- Open Advanced Search.
- Select "Display Results As" = Memberships (anything other than "Contacts").
- Search.
- Task list shows tasks for contacts.
Task list should show tasks for memberships, it will do the second time it is loaded but it ignores the "searchPane" parameter that is passed in via $_REQUEST which is needed to identify the entity type on first load.