Check if API response is not empty, fix #5