Fix #132: Correct page summary calculation