session type fix for enterprise-search