Fixed up the delete-record snippet
Fixed issue with the Python try snippet