Fix for #1850

FOR IN RANGE loop works now even with float arguments.