Fix float range behavior