Optionally retain search values.