Thanks for that also!
Editing the db would have meant having to get someone else to do it, so I opted to edit the functions file instead as it’d be quicker – and it worked great!
Thanks a lot – I’ll think twice before deleting it directly from the media library again!