fixed collection predicate for diaries