Modified interface for isnan.