Fixed an issue with empty responses.