public int deleteInactiveGuestVisitedSessionLists(long lastActivityBefore) {
try {
NovaView view = new NovaView("logged_in/by_last_activity_for_guests");
view.setEndKey(lastActivityBefore);
List<Document> results = this.getDatabase().view(view).getResults();
<BUG>Map<String, Object> log = new HashMap<>();
final List<Document> newDocs = new ArrayList<Document>();
for (final Document oldDoc : results) {
</BUG>
final Document newDoc = new Document();

public int deleteInactiveGuestVisitedSessionLists(long lastActivityBefore) {
try {
NovaView view = new NovaView("logged_in/by_last_activity_for_guests");
view.setEndKey(lastActivityBefore);
List<Document> results = this.getDatabase().view(view).getResults();
Map<String, Object> log = new HashMap<>();
int count = 0;
List<List<Document>> partitions = Lists.partition(results, BULK_PARTITION_SIZE);
for (List<Document> partition: partitions) {
final List<Document> newDocs = new ArrayList<Document>();
for (final Document oldDoc : partition) {
final Document newDoc = new Document();
