Make the database handling more robust
Fix typos in preservation definitions
Make alternative tooltip MathJax-aware