Simplify the contextCSN determination.