Fix for #1850

FOR IN RANGE loop works now even with float arguments.
This should not be deleted.