[SD-1240] Only empty stages can be deleted

Yes, this was the idea and I will try to be more explicitly in the future.