#313007 Added code to create missing nodes automatically