Fixes multiple command responses.

Fixes issue #56.