Fix for TEXT to accept NODEs.