Fix cohort editing on pages

[#82592688]