Fixed error when creating an assignment poll. Fixed #1203.
Merge pull request #1281 from normanjaeckel/AssignmentPollBug

Fixed error when creating an assignment poll. Fixed #1203.