nunaliit-couch-date: Fix crash on an empty atlas.

Issue #241