Adding Vote model - raises runtime error