nunaliit2-js: Fix bug that prevent dbPerspective from reporting
deletion.

Issue #272