Fix for wrong index value on events after destroying models.
Merge pull request #590 from rafabernad/patch-4

Fix for wrong index value on events after destroying models.

LGTM

Signed-off-by: Cole Davis (cole.davis@lge.com)