Validate if results is an array