mod_survey: Fix crashing survey results

Happened when a thurstone question was added after some survey results
were already entered.
(cherry picked from commit b73fabb99d11fa8458de3cbea959d0c7bb3c0a98)