Fix a bug when checking if the skeleton is to be deleted
Merge pull request #259 from graphicore/fix-delete-master

Fix a bug when checking if the skeleton is to be deleted