Is there a way to not let moderators delete members?

You can install a plugin and deny moderator access to logs