Fix error if results empty or undefined..