fix '<int>bool(<int>x)' to always return 0 or 1 instead of plain '<int>x'