Fixed arraylist -> array conversion in SearchManager.