make sure delete stashes works correctly