Fix issue deleting metadata elements introduced in 99879dee837
Merge pull request #12 from aodn/fix-element-delete

Fix issue deleting metadata elements introduced in 99879dee837