Backend/docsearch: Make sure 'None' is never added to the doclist

Signed-off-by: Jerome Flesch <jflesch@wyplay.com>