Add check for NaN to defined observer