Issue #2730973 by Wim Leers, larowlan, JonasRMuc, andypost: Comment permalinks are cached incorrectly when multiple pages exist