Make sure detailedview is not undefined if we’re relying on session store