Fixed issue with checkResponse not returning true when response is empty