Checking if a document exists after deletion

@mhederi, @btburnett3 -

The patch has been merged with master and it’s available on github. It will be officially released as part of 2.2.2.

Thanks for the excellent work guys!

-Jeff