if (chapter == null) {
return new Chapter();
} else {
// Workaround for IndexOutOfBoundsException
List<User> administrators = new AutoPopulatingList(User.class);
administrators.addAll(chapter.getAdministrators());
chapter.setAdministrators(administrators);
}
return chapter;
}