I've just looked at this, and the code is working correctly. The code uses a zero based index for the answers; '0' for answer 1, '1' for answer 2 and '2' for answer three.
Those numbers were there only so I could debug the code when writing it and should not have been left in the results page. I've now deleted it. Thanks for the head-up.
