Fixes segfault when deleting multiple poses
Merge pull request #138 from marioprats/groovy-devel

Fixes segfault when deleting multiple poses