Return 204 with no content when document does not exist

Fixes issue #251