Fixed NPE in CantCounterSourceEffect (fixed #295).