Update the embedded Lua sandbox documentation to play nicely with Sphinx

- Fix the alert removal when dealing with multiple expired alerts