They're probably in a database file, so you have to install a SQLite editor (and probably have to root the phone), find the database file, learn SQL, analyze the database to discover which field is used to indicate "deleted", then update any records you want from deleted to active. And not use WhatsApp until you do, because new chats can overwrite chats marked deleted.