Added check for server not returning results