Fixes for some common TEI P5 errors