Added flood protection for search