Fix mayor bug that prevents deleting some elements.
Update version to 0.4.7