fix starcount migration (closes #436)