moved sequence length check to after negative is removed. fixed a test.