Issue #670: Entering free-text phenotypes leads to database inconsistencies
Added a migrator that automatically fixes existing broken properties.