Add missing indexing in `Emitter.disconnect`

As the function wasn't actually used yet, there should be no apparent
bug due to this error.