Fixes broken summoning code