Fix for crash on search reload related to duplicated/partially updated message threads; now all threads belonging to the removed local folder also removed