Fixed crash since 1.4.8 on creating multiple persons in blank database. Also could fail before on saving encoder curves fo the first time