JAL-1819 use Float.isNaN() to check for NaNs!