Fix search in summaries table