When you lose Aghanim's Scepter before the cast finishes, the spell malfunctions, wasting mana/cd without graving anyone.

Repro:
1. Have an allied Wisp Tether you, with the Tether Scepter talent
2. Start casting the upgraded Shallow Grave
3. Before the cast finishes, have the Wisp break the Tether

Result: The Shallow Grave still casts, but doesn't grave anyone, since has no target given. By losing the aghs buff from Tether, it has no radius anymore, so it graves nothing.

Expected: When losing the aghs buff or item, the cast should cancel automatically. If the spell was targeted on the ground, it should periodically check for the presence of aghs, or the aghs buff, and should immediately cancel if neither are found on Dazzle.