Fix minor bug, where rational was valid input, but only integers where accepted