Reconnect input to feed (mysql)

I’ve been having problems with my Emoncms computer recently which have led to database corruption. I’ve generally been able to repair the database, but now I have an issue with 2 feeds.

The input view editing page says “Feedid 7 does not exists or was deleted”. The table is present in the database, with 718MiB of data!), but I can’t see a way of reconnecting the table to the feed.

Obviously I can just create another feed, but that would lose the connection to the old data.

Emoncms 9.7, WAMP 2.4, MySQL 5.6.12.