Bug fix to CaMML DBN code

Bug fix to DBN code - DBNSEC class. Bug could lead to a single
additional interslice (temporal) arc being included in the learned DBNs
(regardless of whether it was supposed to be there or not).