Fix bug generating incorrect answer list when choices array contains objects