modify doit for Numbers in Mod.eval

Thanks to Patrick Lacasse for this suggestion.