Fix off-by-one error with FindNextSetBit in cond checks.