Made default values support multiple types of nodes
Made default values default to 1st one if the desired type of node was not found