Changed search with indexOf.