Fixed bug in switch command detection

- in ProcessResponse()