Fix positional arguments in search method.