Charter school vote may hurt ratings, credit agency says