Fix check for valid roman numeral