Fix Fraction validation its undefined message

Add an error message to the validation, whenever no option has been
chosen.
Fix the fraction type validation, test every possible combination of
input.