Don't throw exception in list of entities.

If no IDs were requested, we should not throw an exception in case an
entity is un-accessible by the user.