Prevent getEntitiesByIds to deliver data on empty Object[].
Merge pull request #24 from weskamm/fixgetentities

Prevent getEntitiesByIds to deliver data on empty Object[].