Fixed a bug in constructing search parameters with accountName passed.