r121: bug in the count table

When rest==0, we still need to check q1_depth. This is a bug left from previous fixes.
r122: weaker filtering in ec

Stringent filtering leaves holes in assembly