Fix rollback so that votes are deleted. Update recalculation to use dynamic entity type.