#673 - convert rationality to lambda correctly