fix bug #498
fixed issue #498 another time
seems that the problem was due to the array $this->objects that didn't accept ldap backend ids as key
forced the key to string, seems better now (ldap and local backend tested)
Merge pull request #499 from owncloud/498

fix bug #498