Fixed File->Import node selection error.

Sometimes the imported script will add a plug to the ScriptNode, and since we can only select nodes we must filter these out when changing the selection.

This addresses the latter half of #1077.