fireworks/bebob: fix failure to stop duplex streams

wrong evaluation for midi counter.