fixes #4852 case export from advanced search