proper session context wrapping for search_read