Updated UPCValidator to correctly only subtract 10 from the check digit modulo if the value was not 0.