Ignore 404 when removing a document from elasticsearch

Fixes #942