Fix search result buttons issue