Remove NaN check, since it shouldn't be necessary now that things work