Add pre java 8 solution for filtering unspoiled ballots.