fix crash when resolving attachment reference in nav when content catalog contains non-publishable files