Query#hits will return an empty array if no hits found.

Thus ensuring that return value of Query#hits is always an array.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>