search: fix default of for collections

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Reported-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>