Fix spurious soft asserts Fixes #706