document:deleteByQuery and collection:truncate should only delete live documents (#849)
document:deleteByQuery and collection:truncate should only delete live documents (#849)

* deleteByQuery only deletes active documents

* fix #848

kuzzleio/kuzzle,kuzzleio/kuzzle,kuzzleio/kuzzle,kuzzleio/kuzzle