Fix search dropdown for documents to not show nulls [story:42332455]