Fixed repeating table issue and added votes to new record.