Fix bug with multiple responses per problem

Ok, this should work with DB class @jaericson @sefk