Fixed bug determining proper response value.