fix bug with default stages being deletable
Merge remote-tracking branch 'origin/delete-stages-bug' into dev-gradle