Fixed issue #7321: Internal server error when taking survey and using list(dropdown) question type