Correct bug in throw to not cause EmptyStackException