Fixed error with connect-ed logic determinig valid numbers as invalid.