Properly reset search when we reset the database.
Updated distribution.