Fix bug where default stages were being cleared