Fix crash with empty database
This tag has no release notes.