Avoid RuntimeError when clearing spell queue