I've added a return here to avoid generating a results array and returning that.  I noticed this in quite a few places in the code - I'll create a separate pull request to fix some of those and add tests to validate the expected return value.