Fix crash when creating compendium with new slug

You got an error if you navigated to an unused slug, or when using the search field on the front page, and pressing enter when no match was found.