Fixed isFloat detection: now detects float arrays