Fix search bug introduced by change to list template structure