Fixed bug with NXgroup.__deepcopy__

If the copied group contained another group, the original group name
was not preserved.
Improved error reporting when wrong nodes selected