Protection against pageAt = 0