This was the result of the same confusion I mentioned above regarding the unnecessary "results" property. Calling `this.length` instead of `this.results.length` will suffice here.