To get back to the original problem:

Are you saying that users are physically deleting custom layouts OR they delete a slide and the corresponding layout also deletes OR something else.