Correct error messages when queues are disabled

When queues sybsystem is disabled, error messages returned by the switch
should be of type 'queue_op_failed' not 'bad_request'.

Fixes #76