Index: src/register/ledger-core/split-register-control.c
===================================================================
--- src/register/ledger-core/split-register-control.c	(revision 14771)
+++ src/register/ledger-core/split-register-control.c	(working copy)
@@ -1116,7 +1116,7 @@
    * _not_ the blank split, then return FALSE -- this is a "special"
    * gain/loss stock transaction.
    */
-  if (gnc_numeric_zero_p(exch_rate) && !force_dialog &&
+  if (gnc_numeric_zero_p(exch_rate) && !force_dialog && split &&
       split != gnc_split_register_get_blank_split (reg))
     return FALSE;
 
