Add a function to avoid access on related comments pages