ignore curpk if it points to an invalid ballot pk
added test for add ballot page