Fixed entity to return an empty array when no results are returned (rather than always null, even when results are returned ><)

Signed-off-by: Martin Evans <martindevans@gmail.com>