synclegacydb command lists some invalid values in the database