#617648 by Berdir | timtrinidad: Fixed deleted thread not recreated upon recipient reply (with test).