Update deleteHistoryOnScene.py

Made the script only work on shape nodes. Fixed issues with V-Ray Mesh (proxies) still getting its history deleted and thus destroyed.