Bug in initialization of assignmentsChosen