Fixed some issues with RDNPlus and undefined variables.