fix bug with search jbuilder only showing 2 results