Minor optimization

- Use ToString() method in questionnaire handler, instead of explicit
casting (which could fail)