Fix regression in faceted search introduced by #64