bn: fix spurious assertion