Fix interceptor chain slicing after an error on a Before call

The mux was getting the wrong number of elements of the interceptor slice. A test was added to verify this case.