multiFilter.add(new FieldFilter("forumID", forumID));
//Date filter
if (beforeDate != null || afterDate != null) {
if (beforeDate != null && afterDate != null) {
multiFilter.add(new DateFilter("creationDate", beforeDate, afterDate));
} else if (beforeDate == null) {
multiFilter.add(DateFilter.After("creationDate", afterDate));
} else {
multiFilter.add(DateFilter.Before("creationDate", beforeDate));
}