Fixed response status check