Update deleteHistoryOnScene.py

Fixed so that proxies won't get deleted.