Handle DuplicateKeyException for answer stats
The creation of duplicate answers is already prevented but duplicates
might exist in data from earlier versions (there is no migration to
remove duplicates). When duplicates occured during generation of
AnswerStatisticsUserSummary
, a DuplicateKeyException
was thrown.
Duplicates answers are now ignored.
Related: #148 (closed), !493 (merged)