Group search settings lines properly