Fix error using compass search alias