Truncate tables properly.