Bug fix (did not set correct field type value after changing object's identifier).