Fix simple random search