Modified `->get_results()` function to return an empty array when output is an `ARRAY_x` and no results available.