Automatic corrections for some common FIDE federation code errors