Fix application error on non-feature search results

Fixes #560
Generate valid URLs for search results with no object attached